﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="getNewsContent.aspx.cs" Inherits="getNewsContent" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <style type="text/css">
        .style1 {
            width: 100%;
            border: 1px solid #808080;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        Url<asp:TextBox ID="TextBoxUrl" runat="server"></asp:TextBox><br />
        <asp:Button ID="ButtonGetContent" runat="server" Text="GetContent" 
            onclick="ButtonGetContent_Click" />
        <br />
        <asp:Label EnableViewState = "false" ID="lblContent" runat="server"></asp:Label>
        <br />
        <asp:TextBox ID="TextBoxSiteKindId" runat="server"></asp:TextBox>
        <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" />
        <br />
        <br />
        <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="updateAll" />
        <br />
        SiteId:<asp:TextBox ID="TextBoxSiteId" runat="server"></asp:TextBox><asp:Button ID="ButtonUpdateOneMySql" runat="server" onclick="ButtonUpdateOneMySql_Click" Text="UpdateOneMySql" />
        <br />
        SitUrl:<asp:TextBox ID="TextBoxSiteUrl" runat="server"></asp:TextBox><asp:Button 
            ID="ButtonUpdateOneAccess" runat="server" Text="ButtonUpdateOneAccess" 
            onclick="ButtonUpdateOneAccess_Click" />
        <br />
        <asp:Button ID="Button3" runat="server" onclick="Button3_Click" Text="Button" />
        <br />
        <br />
        <table class="style1">
            <tr>
                <td>
                    xml在App_Data的路径</td>
                <td>
                    <asp:TextBox ID="txtKCxml" runat="server" Text="ListArticle\sbkk8.cn" ValidationGroup="KC"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="ReqKCxml" runat="server" ControlToValidate="txtKCxml" ErrorMessage="xml" ValidationGroup="KC"></asp:RequiredFieldValidator>
                </td>
                <td>
                    site Id</td>
                <td>
                    <asp:TextBox ID="txtKCsiteId" runat="server" ValidationGroup="KC"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="ReqKCsiteId" runat="server" ControlToValidate="txtKCsiteId" ErrorMessage="siteId" ValidationGroup="KC"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Button ID="ButtonKindAndContent" runat="server" onclick="ButtonKindAndContent_Click" Text="下载列表和内容" ValidationGroup="KC" />
                </td>
                <td>
                    <asp:Label ID="lblKC" runat="server" ></asp:Label><%--ForeColor="#FF3300"--%>
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    (先下载列表到*Temp,再下载内容)</td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
